//package org.jeecg.modules.utils.controller;
//
//import com.transtella.messageCenter.EnumMessageType;
//import com.transtella.messageCenter.Event;
//import com.transtella.messageCenter.IMessageManager;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import lombok.extern.slf4j.Slf4j;
//import org.jeecg.common.api.vo.Result;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
//@Api(tags = "消息中心测试")
//@RestController
//@RequestMapping("/utils")
//@Slf4j
//public class MessageCenterTest {
//
//    @Autowired
//    private IMessageManager messageManager;
//
//    @ApiOperation(value = "接受消息", notes = "接受消息")
//    @PostMapping(value = "/callback")
//    public Result<Event> callback(@RequestBody Event body) {
//        return Result.OK(body);
//
//    }
//
//    @ApiOperation(value = "发送消息", notes = "发送消息")
//    @PostMapping(value = "/sendDemo")
//    public Result<Event> sendDemo(@RequestBody Event body) {
////        messageManager.sendCommand("测试消息","sfdsfdsf");
//        return Result.OK(body);
//
//    }
//}
